.remove-favorite > .overview-icon,
.search-result-content > .overview-icon {
border-radius: 4px;
- padding: 4px;
+ padding: 3px;
+ border: 1px rgba(0,0,0,0);
font-size: 10px;
color: white;
transition-duration: 100;
transition-duration: 100;
}
+.app-well-app:focus > .overview-icon,
+.search-result-content:focus > .overview-icon {
+ border: 1px solid #cccccc;
+}
+
.app-well-menu {
font-size: 12px
}
this.actor = new St.Button({ style_class: 'app-well-app',
reactive: true,
button_mask: St.ButtonMask.ONE | St.ButtonMask.TWO,
+ can_focus: true,
x_fill: true,
y_fill: true });
this.actor._delegate = this;
this.actor.connect('button-press-event', Lang.bind(this, this._onButtonPress));
this.actor.connect('clicked', Lang.bind(this, this._onClicked));
+ this.actor.connect('popup-menu', Lang.bind(this, this._onKeyboardPopupMenu));
this._menu = null;
this._menuManager = new PopupMenu.PopupMenuManager(this);
return false;
},
+ _onKeyboardPopupMenu: function() {
+ this.popupMenu();
+ this._menu.actor.navigate_focus(null, Gtk.DirectionType.TAB_FORWARD, false);
+ },
+
getId: function() {
return this.app.get_id();
},
if (!isPoppedUp)
this._onMenuPoppedDown();
}));
+ Main.overview.connect('hiding', Lang.bind(this, function () { this._menu.close(); }));
this._menuManager.addMenu(this._menu);
}
this.dash.actor.add_constraint(this.viewSelector.constrainY);
this.dash.actor.add_constraint(this.viewSelector.constrainHeight);
+ // Translators: this is the name of the dock/favorites area on
+ // the left of the overview
+ Main.ctrlAltTabManager.addGroup(this.dash.actor, _("Dash"), 'user-bookmarks');
+
},
_onDragBegin: function() {